package com.csi.service.impl;

import com.csi.mapper.IndexMapper;
import com.csi.service.IndexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class IndexServiceImpl implements IndexService {

    @Autowired
    private IndexMapper indexMapper;

    /**
     * 返回评分前六的旅游套餐
     * @return
     */
    @Override
    public List<Map<String, Object>> list() {
        return indexMapper.list();
    }
}
